package com.bo.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author huangbo
 * @version 1.0.0
 * 员工实体类
 */
@Data   //@Data注解，自动生成getter setter toString
@NoArgsConstructor  //无参构造器
@AllArgsConstructor //有参构造器
public class Emp {
    private Integer id;         //主键id
    private String username;    //用户名
    private String password;    //密码
    private String name;        //姓名
    private Short gender;       //性别 1男 2女
    private String image;       //图片url
    private Short job;          //工作类型 1~5
    private LocalDate entrydate;//入职时间
    private Integer deptId;     //部门id
    private LocalDateTime createTime;//创建时间
    private LocalDateTime updateTime;//修改时间
}
